<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
<div class="box-body">
        <form id="myform" class="myform form-horizontal"  method="post">
        <input type="hidden" name="ads_id" value="{$info['ads_id']|default=''}">
          <div class="row">
            <div class="col-md-12">
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">广告名称：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="ads_title" value="{$info.ads_title|default=''}"  autocomplete="off"  required="required" placeholder="广告名称必填">
              </div>              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">广告标识：</span>
                </div>
                <!-- /btn-group -->
                 <input type="text" class="form-control" name="ads_name" value="{$info.ads_name|default=''}"  autocomplete="off"  required="required" placeholder="广告标识必填，并且为字母数字下划线">
              </div> 
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-title">广告内容：</span>
                <span class="form-left-title-hide"></span>
                </div>
                <!-- /btn-group -->
               <textarea name="ads_content" class="form-control" style="height: 300px">{$info.ads_content|default=''}</textarea>
                </div>                                                                       
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">连接状态：</span>
                </div>
                <!-- /btn-group -->
                <select name="ads_status" class="form-control select2 select2-hidden-accessible" style="width: 100%;" tabindex="-1" aria-hidden="true">
          <option value="1">显示</option>
          <option value="0" {eq name="info.ads_status" value="0" }selected{/eq}>隐藏</option>
                </select>
              </div>   
              
                                                                     
            </div>          
          </div>
          <!-- /.row -->
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
</form>
</div>

{include file="public/footer" /}
<!-- /.box-body -->    
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();	
	
});	
</script>	
</body>
</html>
